package at.ac.tuwien.ame;

import ftldsl.Transformation;
import javax.inject.Inject;
import org.eclipse.xtext.parsetree.reconstr.Serializer;

/**
 * Interface that should be implemented by FTL code generators.
 */
@SuppressWarnings("all")
public abstract class FTLCodeGenerator {
  @Inject
  protected Serializer serializer;
  
  public String modelName;
  
  /**
   * Translates the given {@link Transformation} into the target language.
   */
  public abstract CharSequence generateTransformation(final Transformation t);
}
